package com.edu.bean;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class Student {
    private int studentId;
    private String stuName;
    private int stuAge;
    private Date birthday;
    private List<String> teles;//多个联系方式
    private Parent father;
    private Parent mother;
    private Grade grade;//班级
    private Map<String,String> schools;

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public int getStuAge() {
        return stuAge;
    }

    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public List<String> getTeles() {
        return teles;
    }

    public void setTeles(List<String> teles) {
        this.teles = teles;
    }

    public Parent getFather() {
        return father;
    }

    public void setFather(Parent father) {
        this.father = father;
    }

    public Parent getMother() {
        return mother;
    }

    public void setMother(Parent mother) {
        this.mother = mother;
    }

    public Grade getGrade() {
        return grade;
    }

    public void setGrade(Grade grade) {
        this.grade = grade;
    }

    public Map<String, String> getSchools() {
        return schools;
    }

    public void setSchools(Map<String, String> schools) {
        this.schools = schools;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", stuName='" + stuName + '\'' +
                ", stuAge=" + stuAge +
                ", birthday=" + birthday +
                ", teles=" + teles +
                ", father=" + father +
                ", mother=" + mother +
                ", grade=" + grade +
                ", schools=" + schools +
                '}';
    }
}
